<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\PreCommonTeam */
/* @var $form yii\widgets\ActiveForm */

/*
**Team :
**Coding by 张今灵 1511267 170706
**This is the function of team information 
*/

?>

<div class="pre-common-team-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'Team_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Member_num')->textInput() ?>

    <?= $form->field($model, 'Setup_time')->textInput() ?>

    <?= $form->field($model, 'sid')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '创建' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
